package com.moduleSys.mapper;

import com.moduleSys.entity.system.Role;
import com.moduleSys.mapper.base.BaseRoleMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by czw on 2017/7/12 0012.
 */
public interface RoleMapper extends BaseRoleMapper {
    List<Role> list();

    List<Role> selectByUserId(Long userId);

    void deleteBatch(@Param("roleIdList") List<Long> roleIdList);
}
